home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Mag / M-O / Mac Monitor 9⁄93 / Our Feature / Why You Need It < prev   
Encoding:
Text File  |  1993-09-05  |  7.6 KB  |  106 lines  |  [TEXT/ttxt]

  1. FILE COMPRESSION
  2. What It Is And Why You Probably Need It
  3.  
  4. The following article was written by Janet Johnson, a Now Software employee. MacMonitor does not
  5. normally reprint articles from software companies, but we felt that this article gave a good overview of
  6. the field of compression – a field which is of interest to many Macintosh users, –Editor.
  7.  
  8. *********************************************************************************
  9.  
  10. MOST MAC USERS COME TO A POINT IN THEIR LIVES
  11. where they realize they either: 1) need more room on their hard drives; or 2) need to speed up the way
  12. they work across networks or phone lines. Compression software can be the best way to maximize your
  13. disk space, as well as create smaller files to speed file transfer times. Just as you don't have to be an en-
  14. gineer to need more room on your Mac, you don't have to be an engineer to understand and use compres-
  15. sion software. This is a quick primer on a little understood but incredibly useful type of utility.
  16.  
  17. Simply, compression makes your files smaller. Smaller files take up less storage space and move across
  18. phone lines and networks faster. So when you use compression software, you'll maximize the space on
  19. your existing storage hardware and save money on expensive connect time when you send files with your
  20. modem.
  21.  
  22. Compression works by looking at files and replacing repetitive bits of information with simple codes,
  23. thereby reducing the size of files while retaining their original integrity.
  24.  
  25. A simple example: The sentence ‘That's one small step for man, and one giant leap for mankind’ could be
  26. compressed by replacing ‘one’ with ‘$’, ‘for man’ with ‘%’ and ‘nd’ with • to result in ‘That's $ small step
  27. %, a• $ giant leap %ki•’.
  28.  
  29. The symbols $, •, and % take up only one bit of space each, but each symbol replaces a multi-letter word,
  30. so the resulting sentence is smaller. That, in a nutshell, is how compression works.
  31.  
  32. TYPES OF COMPRESSION:
  33. There are two types of compression for the Macintosh. File-level compressors compress and verify each
  34. file individually, helping to safeguard your data. File-level compression can occur in two ways: at idle-
  35. time or on-demand compression.
  36.  
  37. Idle-time compression works when your Mac is not being used, much like a screen saver does. You tell
  38. your software to compress files you haven't used for a long time, or don't use often, and the files are com-
  39. pressed in the background. This type of compression maximizes your hard disk space, and produces trans-
  40. parently-compressed files, which look just like regular files to your Mac. In other words, you can double-
  41. click on them from the Finder, or open them from within your applications, and they open just like regular
  42. files. After you close the files, they will be recompressed when your Mac is idle again. Because these files
  43. must be decompressed before they can be used, the speed of the decompression softwareis very important,
  44. so that using these files doesn't interrupt your normal work flow.
  45.  
  46. On-demand compression, as the name implies, allows you to create compressed file on-the-spot, whenever
  47. you want them. This technique is usually used to create the type of compressed files which speed up modem
  48. and network transfer times. These files, or collections of files, are typically called archives. The most import-
  49. ant attribute of an archive is tightness. The smaller the archive the faster it transmits. An archive can be self-
  50. extracting, which means that decompression instructions are included in the file, so the person receiving it
  51. can simply double-click on the archive and it will be decompressed without having the compression software
  52. installed.
  53.  
  54. SAFETY CONSIDERATIONS
  55. File integrity has sometimes been raised as a concern in the compression arena. The reason is that compression
  56. inherently reduces the redundancy of a file, and, as we've seen above, changes the context of its contents.
  57. Consequently, it is more difficult to reconstruct a compressed file that has been corupted or damaged than an
  58. uncompressed file that has been corrupted. The keey is to eliminate the chance of damage.
  59.  
  60. There are really three aspects to consider regarding the safety of compression software. The first concerns the
  61. level at which the compression takes place. For file-level compressors, each file is compressed individually.
  62. This approach is generally viewed as being safer than driver-level compression, since a single glitch at the
  63. driver level can affect all the data on an entire hard drive.
  64.  
  65. The second safety aspect concerns error-checking and data integrity. In the case of most file-level products,
  66. each file is check-summed  and is then verified both before and after it is written to disk. To avoid data loss in
  67. the case of power outages, the original copy of a file being compressed should be preserved until compression
  68. is complete (note: not all file-level compressors work this way).
  69.  
  70. The third concern is user control. You need to have the final say over what gets compressed. In both idle-time
  71. and on-demand compression modes, you must decide whether to compress the whole disk, or to manually
  72. select specific files or folders to be compressed. You should be able to exclude individual files and folders
  73. from compression. For example, your current project might be a set of files you may not want to compress.
  74. This level of control provides you the comfort of knowing that files designated not to be compressed will be
  75. left alone. Keep in mand that even by selectively compressing files, it is not unusual to recover 30%-40% of your
  76. hard disk capacity without a hardware investment!
  77.  
  78. WHY YOU NEED COMPRESSION
  79. As you add fonts, sounds, screen savers, images, and applications to your Mac, your hard disk will fill up
  80. more quickly than you probably thought it could. Compression sotfware can shrink the sizes of your files and
  81. applications, giving you more room on your drive.Modem and PowerBook users who travel and send files over modems can compress those files and save money on expensive long-distance rates. (An added bonus for PowerBook users who need to conserve battery power: Try storing transparently-compressed files in a RAM
  82. disk on your PowerBook, and see howmuch battery power you'll save, while efficiently using your available RAM!) Network users will save time sending smaller files around the network, and because of that, network
  83. performance is improved.
  84.  
  85. SELECTING THE COMPRESSION PRODUCT THAT'S RIGHT FOR YOU
  86. Try finding one which does both idle-time and on-demand compression, because even if you don't have a
  87. modem, and aren't connected to a netork now, archives are great for doing backupds to floppies. Get a program
  88. which gives you lots of control over which files are compressed and when files are compressed or not com-
  89. pressed. Look for a program which verifies each file and (in idle-time mode) works on copies of files rather
  90. than the originals – most file-level compression products provide that safety feature. And finally, how easy
  91. is the program to set up and use? Since compression is supposed to speed up the use of your Macintosh, be
  92. sure that the software you choose won't bog you down with a hard-to-understand interface or confusing
  93. options.
  94.  
  95. RECLAIM YOUR HARD DISK!
  96. Compression software is becming increasingly popular on the Macintosh. Unless you have unlimited cash
  97. to spend on additional hard drives and CPU accelerators, a compression product is a wise investment for
  98. your system. So get a compression product amd get all the storage space you paid for!
  99.  
  100. by Janet Johnson
  101. Now Software
  102.  
  103. **********************************************************************************
  104.  
  105. Now Software is the company which has published Now Compress, a file level compressor which is
  106. reviewed elsewhere in this issue of Mac Monitor Online.